//
//  THDataParserHelper.h
//  THBaseApp
//
//  Created by TryHone on 16/6/3.
//  Copyright © 2016年 TryHone. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JFRequestVo.h"
#import "JFResultVo.h"


@interface JFDataParserHelper : NSObject

//优先级为1
+(JFResultVo*)dataParser:(id)data  dataParserType:(DataParserType)type;
//优先级为2
+(JFResultVo*)dataParser:(id)data  dataParserType:(DataParserType)type requestVo:(JFRequestVo*)requestVo;

//网络接口失败了才会触发
+(NSString*)errorCodeToErrorMsg:(NSInteger)code;
@end
